//
//  UIAlertController+Tool.h
//  SLDemo
//
//  Created by bocai on 2016/12/20.
//  Copyright © 2016年 Heracles. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIAlertController (Tool)

+ (UIAlertController *)t_alertControllerWithTitle:(NSString *)title
                                          message:(NSString *)message
                                        sureTitle:(NSString *)sureTitle
                                      cancelTitle:(NSString *)cancelTitle
                                      sureHandler:(void (^)(UIAlertAction *action))sureHandler;

+ (UIAlertController *)t_alertControllerWithTitle:(NSString *)title
                                          message:(NSString *)message
                                      cancelTitle:(NSString *)cancelTitle;

@end
